package main;

import static main.Game.RIDE;
import static main.Register.PLAYER;

public class Horse extends LivingEntity {

    public Horse(double x, double y) {
        super(
                Register.HORSE_LEFT,
                Register.HORSE_STEP_LEFT,
                Register.HORSE_RIGHT,
                Register.HORSE_STEP_RIGHT,
                Register.HORSE_STAY, x, y
        );
        boxWidth = 40;
        boxHeight = 40;
        width = 40;
        height = 40;

    }




    @Override
    public void update() {
        super.update();




        walk(Game.randInt(0,1000) <= 8);




    }


}
